
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont">&#x343e;</i>
                    <div class="name">咖啡</div>
                    <div class="code">&amp;#x343e;</div>
                    <div class="fontclass">.kafei</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#x3452;</i>
                    <div class="name">珠宝饰品</div>
                    <div class="code">&amp;#x3452;</div>
                    <div class="fontclass">.zhubaoshipin</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#x3451;</i>
                    <div class="name">精选市场</div>
                    <div class="code">&amp;#x3451;</div>
                    <div class="fontclass">.jingxuanshichang</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#x3458;</i>
                    <div class="name">鞋/包</div>
                    <div class="code">&amp;#x3458;</div>
                    <div class="fontclass">.xiebao</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#x3459;</i>
                    <div class="name">女装内衣</div>
                    <div class="code">&amp;#x3459;</div>
                    <div class="fontclass">.nvzhuangneiyi</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#x345a;</i>
                    <div class="name">户外运动</div>
                    <div class="code">&amp;#x345a;</div>
                    <div class="fontclass">.huwaiyundong</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#x345c;</i>
                    <div class="name">化妆品</div>
                    <div class="code">&amp;#x345c;</div>
                    <div class="fontclass">.huazhuangpin</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#x346c;</i>
                    <div class="name">男装</div>
                    <div class="code">&amp;#x346c;</div>
                    <div class="fontclass">.nanzhuang</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#x3461;</i>
                    <div class="name">图书音像</div>
                    <div class="code">&amp;#x3461;</div>
                    <div class="fontclass">.tushuyinxiang</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#x3474;</i>
                    <div class="name">电梯联系客服向右</div>
                    <div class="code">&amp;#x3474;</div>
                    <div class="fontclass">.diantilianxikefuxiangyou</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#x3445;</i>
                    <div class="name">沙发</div>
                    <div class="code">&amp;#x3445;</div>
                    <div class="fontclass">.shafa</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#x3448;</i>
                    <div class="name">手机</div>
                    <div class="code">&amp;#x3448;</div>
                    <div class="fontclass">.shouji</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#x3441;</i>
                    <div class="name">口红</div>
                    <div class="code">&amp;#x3441;</div>
                    <div class="fontclass">.kouhong</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#x344d;</i>
                    <div class="name">出租</div>
                    <div class="code">&amp;#x344d;</div>
                    <div class="fontclass">.chuzu</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#x3455;</i>
                    <div class="name">食品</div>
                    <div class="code">&amp;#x3455;</div>
                    <div class="fontclass">.shipin</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#x345f;</i>
                    <div class="name">居家</div>
                    <div class="code">&amp;#x345f;</div>
                    <div class="fontclass">.jujia</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#x346d;</i>
                    <div class="name">鞋</div>
                    <div class="code">&amp;#x346d;</div>
                    <div class="fontclass">.xie</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#xf0048;</i>
                    <div class="name">内衣</div>
                    <div class="code">&amp;#xf0048;</div>
                    <div class="fontclass">.neiyi</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#xf0047;</i>
                    <div class="name">运动</div>
                    <div class="code">&amp;#xf0047;</div>
                    <div class="fontclass">.yundong</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#xf0042;</i>
                    <div class="name">内衣（男装）</div>
                    <div class="code">&amp;#xf0042;</div>
                    <div class="fontclass">.neiyinanzhuang</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#xf0122;</i>
                    <div class="name">三角1</div>
                    <div class="code">&amp;#xf0122;</div>
                    <div class="fontclass">.sanjiao1</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#xf0124;</i>
                    <div class="name">三角3</div>
                    <div class="code">&amp;#xf0124;</div>
                    <div class="fontclass">.sanjiao3</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#x3460;</i>
                    <div class="name">医药保健</div>
                    <div class="code">&amp;#x3460;</div>
                    <div class="fontclass">.yiyaobaojian</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#x3456;</i>
                    <div class="name">母婴玩具</div>
                    <div class="code">&amp;#x3456;</div>
                    <div class="fontclass">.muyingwanju</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#x345d;</i>
                    <div class="name">汽车配件</div>
                    <div class="code">&amp;#x345d;</div>
                    <div class="fontclass">.qichepeijian</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#x344f;</i>
                    <div class="name">鞋\箱包</div>
                    <div class="code">&amp;#x344f;</div>
                    <div class="fontclass">.xiexiangbao</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#x344e;</i>
                    <div class="name">钻石</div>
                    <div class="code">&amp;#x344e;</div>
                    <div class="fontclass">.zuanshi</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#x3457;</i>
                    <div class="name">数码手机</div>
                    <div class="code">&amp;#x3457;</div>
                    <div class="fontclass">.shumashouji</div>
                </li>
            
        </ul>


        <div class="helps">
            第一步：使用font-face声明字体
            <pre>
@font-face {font-family: 'iconfont';
    src: url('iconfont.eot'); /* IE9*/
    src: url('iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('iconfont.woff') format('woff'), /* chrome、firefox */
    url('iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
    url('iconfont.svg#iconfont') format('svg'); /* iOS 4.1- */
}
</pre>
第二步：定义使用iconfont的样式
            <pre>
.iconfont{
    font-family:"iconfont" !important;
    font-size:16px;font-style:normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;}
</pre>
第三步：挑选相应图标并获取字体编码，应用于页面
<pre>
&lt;i class="iconfont"&gt;&amp;#x33;&lt;/i&gt;
</pre>
        </div>

    </div>
</body>
</html>
